home *** CD-ROM | disk | FTP | other *** search
-
-
- //dictionary for update scripts
- Lazarus.updates = {};
-
- Lazarus.updates["1.0.0"] = function(){
- //updating from pre-release version, kill any old database
- Lazarus.killDB();
- }
-
- Lazarus.updates["1.0.1"] = function(){
- Lazarus.initDB();
- //new formId code.
- Lazarus.emptyDB();
- //add new field to database to allow autofill fields
- Lazarus.db.exe('ALTER TABLE forms ADD autofill INT');
- }
-
-
-
- Lazarus.updates["2.0beta1"] = function(){
- //using weave's hybrid (RSA & AES) encryption instead of firefox's secret key ring
- //adding full text search and lots of other goodness
- Lazarus.killDB();
- }
-
- Lazarus.updates["2.0beta2"] = function(){
- Lazarus.initDB();
- Lazarus.db.exe('ALTER TABLE forms ADD text_length INT');
- Lazarus.db.exe('ALTER TABLE textdata ADD text_length INT');
- }